package com.sxt.bus.service.impl;

import com.sxt.bus.domain.Apply;
import com.sxt.bus.mapper.ApplyMapper;
import com.sxt.bus.mapper.BusApplyMapper;
import com.sxt.bus.service.ApplyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 邵环
 * @since 2020-08-11
 */
@Service
public class ApplyServiceImpl extends ServiceImpl<BusApplyMapper, Apply> implements ApplyService {

    @Autowired
    ApplyMapper applyMapper;

    @Override
    public String getMaxCode(String code) {
        return applyMapper.getMaxCode(code);
    }
}
